<?php
	require_once(__DIR__."/../lib/EveChar.php");
	if (isset($_POST) && !empty($_POST)) {
		$item = EveChar::fromPostData();
		$item->save();
		echo "Char Saved!<br>\n";
	}	
	EveChar::getAddForm();
	
	$items = EveChar::findBy("name", "%", true);
	echo($items);
